package com.deyuanyun.pic.ctrl.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CpProtectionParamExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CpProtectionParamExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID_ is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID_ is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID_ =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID_ <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID_ >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID_ >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID_ <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID_ <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID_ like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID_ not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID_ in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID_ not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID_ between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID_ not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("CREATE_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("CREATE_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("CREATE_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("CREATE_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("CREATE_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("CREATE_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIsNull() {
            addCriterion("CREATE_REMARK is null");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIsNotNull() {
            addCriterion("CREATE_REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkEqualTo(String value) {
            addCriterion("CREATE_REMARK =", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotEqualTo(String value) {
            addCriterion("CREATE_REMARK <>", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkGreaterThan(String value) {
            addCriterion("CREATE_REMARK >", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_REMARK >=", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLessThan(String value) {
            addCriterion("CREATE_REMARK <", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLessThanOrEqualTo(String value) {
            addCriterion("CREATE_REMARK <=", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLike(String value) {
            addCriterion("CREATE_REMARK like", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotLike(String value) {
            addCriterion("CREATE_REMARK not like", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIn(List<String> values) {
            addCriterion("CREATE_REMARK in", values, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotIn(List<String> values) {
            addCriterion("CREATE_REMARK not in", values, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkBetween(String value1, String value2) {
            addCriterion("CREATE_REMARK between", value1, value2, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotBetween(String value1, String value2) {
            addCriterion("CREATE_REMARK not between", value1, value2, "createRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("UPDATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("UPDATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("UPDATE_DATE =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("UPDATE_DATE <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("UPDATE_DATE >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_DATE >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("UPDATE_DATE <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_DATE <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("UPDATE_DATE in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("UPDATE_DATE not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("UPDATE_DATE between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_DATE not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("UPDATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("UPDATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("UPDATE_USER =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("UPDATE_USER <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("UPDATE_USER >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("UPDATE_USER <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("UPDATE_USER like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("UPDATE_USER not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("UPDATE_USER in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("UPDATE_USER not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("UPDATE_USER between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("UPDATE_USER not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIsNull() {
            addCriterion("UPDATE_REMARK is null");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIsNotNull() {
            addCriterion("UPDATE_REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkEqualTo(String value) {
            addCriterion("UPDATE_REMARK =", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotEqualTo(String value) {
            addCriterion("UPDATE_REMARK <>", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkGreaterThan(String value) {
            addCriterion("UPDATE_REMARK >", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_REMARK >=", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLessThan(String value) {
            addCriterion("UPDATE_REMARK <", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_REMARK <=", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLike(String value) {
            addCriterion("UPDATE_REMARK like", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotLike(String value) {
            addCriterion("UPDATE_REMARK not like", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIn(List<String> values) {
            addCriterion("UPDATE_REMARK in", values, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotIn(List<String> values) {
            addCriterion("UPDATE_REMARK not in", values, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkBetween(String value1, String value2) {
            addCriterion("UPDATE_REMARK between", value1, value2, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotBetween(String value1, String value2) {
            addCriterion("UPDATE_REMARK not between", value1, value2, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("DELETED is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("DELETED is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Short value) {
            addCriterion("DELETED =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Short value) {
            addCriterion("DELETED <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Short value) {
            addCriterion("DELETED >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Short value) {
            addCriterion("DELETED >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Short value) {
            addCriterion("DELETED <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Short value) {
            addCriterion("DELETED <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Short> values) {
            addCriterion("DELETED in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Short> values) {
            addCriterion("DELETED not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Short value1, Short value2) {
            addCriterion("DELETED between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Short value1, Short value2) {
            addCriterion("DELETED not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("VERSION is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("VERSION is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Short value) {
            addCriterion("VERSION =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Short value) {
            addCriterion("VERSION <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Short value) {
            addCriterion("VERSION >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Short value) {
            addCriterion("VERSION >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Short value) {
            addCriterion("VERSION <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Short value) {
            addCriterion("VERSION <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Short> values) {
            addCriterion("VERSION in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Short> values) {
            addCriterion("VERSION not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Short value1, Short value2) {
            addCriterion("VERSION between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Short value1, Short value2) {
            addCriterion("VERSION not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andDataStatedIsNull() {
            addCriterion("DATA_STATED is null");
            return (Criteria) this;
        }

        public Criteria andDataStatedIsNotNull() {
            addCriterion("DATA_STATED is not null");
            return (Criteria) this;
        }

        public Criteria andDataStatedEqualTo(String value) {
            addCriterion("DATA_STATED =", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotEqualTo(String value) {
            addCriterion("DATA_STATED <>", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedGreaterThan(String value) {
            addCriterion("DATA_STATED >", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedGreaterThanOrEqualTo(String value) {
            addCriterion("DATA_STATED >=", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedLessThan(String value) {
            addCriterion("DATA_STATED <", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedLessThanOrEqualTo(String value) {
            addCriterion("DATA_STATED <=", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedLike(String value) {
            addCriterion("DATA_STATED like", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotLike(String value) {
            addCriterion("DATA_STATED not like", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedIn(List<String> values) {
            addCriterion("DATA_STATED in", values, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotIn(List<String> values) {
            addCriterion("DATA_STATED not in", values, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedBetween(String value1, String value2) {
            addCriterion("DATA_STATED between", value1, value2, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotBetween(String value1, String value2) {
            addCriterion("DATA_STATED not between", value1, value2, "dataStated");
            return (Criteria) this;
        }

        public Criteria andIsNewestIsNull() {
            addCriterion("IS_NEWEST is null");
            return (Criteria) this;
        }

        public Criteria andIsNewestIsNotNull() {
            addCriterion("IS_NEWEST is not null");
            return (Criteria) this;
        }

        public Criteria andIsNewestEqualTo(Short value) {
            addCriterion("IS_NEWEST =", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestNotEqualTo(Short value) {
            addCriterion("IS_NEWEST <>", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestGreaterThan(Short value) {
            addCriterion("IS_NEWEST >", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestGreaterThanOrEqualTo(Short value) {
            addCriterion("IS_NEWEST >=", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestLessThan(Short value) {
            addCriterion("IS_NEWEST <", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestLessThanOrEqualTo(Short value) {
            addCriterion("IS_NEWEST <=", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestIn(List<Short> values) {
            addCriterion("IS_NEWEST in", values, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestNotIn(List<Short> values) {
            addCriterion("IS_NEWEST not in", values, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestBetween(Short value1, Short value2) {
            addCriterion("IS_NEWEST between", value1, value2, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestNotBetween(Short value1, Short value2) {
            addCriterion("IS_NEWEST not between", value1, value2, "isNewest");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdIsNull() {
            addCriterion("CP_SEGMENT_ID is null");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdIsNotNull() {
            addCriterion("CP_SEGMENT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdEqualTo(String value) {
            addCriterion("CP_SEGMENT_ID =", value, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdNotEqualTo(String value) {
            addCriterion("CP_SEGMENT_ID <>", value, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdGreaterThan(String value) {
            addCriterion("CP_SEGMENT_ID >", value, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdGreaterThanOrEqualTo(String value) {
            addCriterion("CP_SEGMENT_ID >=", value, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdLessThan(String value) {
            addCriterion("CP_SEGMENT_ID <", value, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdLessThanOrEqualTo(String value) {
            addCriterion("CP_SEGMENT_ID <=", value, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdLike(String value) {
            addCriterion("CP_SEGMENT_ID like", value, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdNotLike(String value) {
            addCriterion("CP_SEGMENT_ID not like", value, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdIn(List<String> values) {
            addCriterion("CP_SEGMENT_ID in", values, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdNotIn(List<String> values) {
            addCriterion("CP_SEGMENT_ID not in", values, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdBetween(String value1, String value2) {
            addCriterion("CP_SEGMENT_ID between", value1, value2, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andCpSegmentIdNotBetween(String value1, String value2) {
            addCriterion("CP_SEGMENT_ID not between", value1, value2, "cpSegmentId");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectIsNull() {
            addCriterion("DEVICE_OBJECT is null");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectIsNotNull() {
            addCriterion("DEVICE_OBJECT is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectEqualTo(String value) {
            addCriterion("DEVICE_OBJECT =", value, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectNotEqualTo(String value) {
            addCriterion("DEVICE_OBJECT <>", value, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectGreaterThan(String value) {
            addCriterion("DEVICE_OBJECT >", value, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectGreaterThanOrEqualTo(String value) {
            addCriterion("DEVICE_OBJECT >=", value, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectLessThan(String value) {
            addCriterion("DEVICE_OBJECT <", value, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectLessThanOrEqualTo(String value) {
            addCriterion("DEVICE_OBJECT <=", value, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectLike(String value) {
            addCriterion("DEVICE_OBJECT like", value, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectNotLike(String value) {
            addCriterion("DEVICE_OBJECT not like", value, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectIn(List<String> values) {
            addCriterion("DEVICE_OBJECT in", values, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectNotIn(List<String> values) {
            addCriterion("DEVICE_OBJECT not in", values, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectBetween(String value1, String value2) {
            addCriterion("DEVICE_OBJECT between", value1, value2, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceObjectNotBetween(String value1, String value2) {
            addCriterion("DEVICE_OBJECT not between", value1, value2, "deviceObject");
            return (Criteria) this;
        }

        public Criteria andDeviceParamIsNull() {
            addCriterion("DEVICE_PARAM is null");
            return (Criteria) this;
        }

        public Criteria andDeviceParamIsNotNull() {
            addCriterion("DEVICE_PARAM is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceParamEqualTo(String value) {
            addCriterion("DEVICE_PARAM =", value, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamNotEqualTo(String value) {
            addCriterion("DEVICE_PARAM <>", value, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamGreaterThan(String value) {
            addCriterion("DEVICE_PARAM >", value, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamGreaterThanOrEqualTo(String value) {
            addCriterion("DEVICE_PARAM >=", value, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamLessThan(String value) {
            addCriterion("DEVICE_PARAM <", value, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamLessThanOrEqualTo(String value) {
            addCriterion("DEVICE_PARAM <=", value, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamLike(String value) {
            addCriterion("DEVICE_PARAM like", value, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamNotLike(String value) {
            addCriterion("DEVICE_PARAM not like", value, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamIn(List<String> values) {
            addCriterion("DEVICE_PARAM in", values, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamNotIn(List<String> values) {
            addCriterion("DEVICE_PARAM not in", values, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamBetween(String value1, String value2) {
            addCriterion("DEVICE_PARAM between", value1, value2, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andDeviceParamNotBetween(String value1, String value2) {
            addCriterion("DEVICE_PARAM not between", value1, value2, "deviceParam");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateIsNull() {
            addCriterion("BEGIN_PLAN_DATE is null");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateIsNotNull() {
            addCriterion("BEGIN_PLAN_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateEqualTo(Date value) {
            addCriterion("BEGIN_PLAN_DATE =", value, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateNotEqualTo(Date value) {
            addCriterion("BEGIN_PLAN_DATE <>", value, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateGreaterThan(Date value) {
            addCriterion("BEGIN_PLAN_DATE >", value, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateGreaterThanOrEqualTo(Date value) {
            addCriterion("BEGIN_PLAN_DATE >=", value, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateLessThan(Date value) {
            addCriterion("BEGIN_PLAN_DATE <", value, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateLessThanOrEqualTo(Date value) {
            addCriterion("BEGIN_PLAN_DATE <=", value, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateIn(List<Date> values) {
            addCriterion("BEGIN_PLAN_DATE in", values, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateNotIn(List<Date> values) {
            addCriterion("BEGIN_PLAN_DATE not in", values, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateBetween(Date value1, Date value2) {
            addCriterion("BEGIN_PLAN_DATE between", value1, value2, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andBeginPlanDateNotBetween(Date value1, Date value2) {
            addCriterion("BEGIN_PLAN_DATE not between", value1, value2, "beginPlanDate");
            return (Criteria) this;
        }

        public Criteria andEndModeIsNull() {
            addCriterion("END_MODE is null");
            return (Criteria) this;
        }

        public Criteria andEndModeIsNotNull() {
            addCriterion("END_MODE is not null");
            return (Criteria) this;
        }

        public Criteria andEndModeEqualTo(String value) {
            addCriterion("END_MODE =", value, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeNotEqualTo(String value) {
            addCriterion("END_MODE <>", value, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeGreaterThan(String value) {
            addCriterion("END_MODE >", value, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeGreaterThanOrEqualTo(String value) {
            addCriterion("END_MODE >=", value, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeLessThan(String value) {
            addCriterion("END_MODE <", value, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeLessThanOrEqualTo(String value) {
            addCriterion("END_MODE <=", value, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeLike(String value) {
            addCriterion("END_MODE like", value, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeNotLike(String value) {
            addCriterion("END_MODE not like", value, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeIn(List<String> values) {
            addCriterion("END_MODE in", values, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeNotIn(List<String> values) {
            addCriterion("END_MODE not in", values, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeBetween(String value1, String value2) {
            addCriterion("END_MODE between", value1, value2, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndModeNotBetween(String value1, String value2) {
            addCriterion("END_MODE not between", value1, value2, "endMode");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNull() {
            addCriterion("END_DATE is null");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNotNull() {
            addCriterion("END_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andEndDateEqualTo(Date value) {
            addCriterion("END_DATE =", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotEqualTo(Date value) {
            addCriterion("END_DATE <>", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThan(Date value) {
            addCriterion("END_DATE >", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("END_DATE >=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThan(Date value) {
            addCriterion("END_DATE <", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterion("END_DATE <=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIn(List<Date> values) {
            addCriterion("END_DATE in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotIn(List<Date> values) {
            addCriterion("END_DATE not in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateBetween(Date value1, Date value2) {
            addCriterion("END_DATE between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterion("END_DATE not between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndCountIsNull() {
            addCriterion("END_COUNT is null");
            return (Criteria) this;
        }

        public Criteria andEndCountIsNotNull() {
            addCriterion("END_COUNT is not null");
            return (Criteria) this;
        }

        public Criteria andEndCountEqualTo(Long value) {
            addCriterion("END_COUNT =", value, "endCount");
            return (Criteria) this;
        }

        public Criteria andEndCountNotEqualTo(Long value) {
            addCriterion("END_COUNT <>", value, "endCount");
            return (Criteria) this;
        }

        public Criteria andEndCountGreaterThan(Long value) {
            addCriterion("END_COUNT >", value, "endCount");
            return (Criteria) this;
        }

        public Criteria andEndCountGreaterThanOrEqualTo(Long value) {
            addCriterion("END_COUNT >=", value, "endCount");
            return (Criteria) this;
        }

        public Criteria andEndCountLessThan(Long value) {
            addCriterion("END_COUNT <", value, "endCount");
            return (Criteria) this;
        }

        public Criteria andEndCountLessThanOrEqualTo(Long value) {
            addCriterion("END_COUNT <=", value, "endCount");
            return (Criteria) this;
        }

        public Criteria andEndCountIn(List<Integer> values) {
            addCriterion("END_COUNT in", values, "endCount");
            return (Criteria) this;
        }

        public Criteria andEndCountNotIn(List<Integer> values) {
            addCriterion("END_COUNT not in", values, "endCount");
            return (Criteria) this;
        }

        public Criteria andEndCountBetween(Long value1, Long value2) {
            addCriterion("END_COUNT between", value1, value2, "endCount");
            return (Criteria) this;
        }

        public Criteria andEndCountNotBetween(Long value1, Long value2) {
            addCriterion("END_COUNT not between", value1, value2, "endCount");
            return (Criteria) this;
        }

        public Criteria andAlertModeIsNull() {
            addCriterion("ALERT_MODE is null");
            return (Criteria) this;
        }

        public Criteria andAlertModeIsNotNull() {
            addCriterion("ALERT_MODE is not null");
            return (Criteria) this;
        }

        public Criteria andAlertModeEqualTo(String value) {
            addCriterion("ALERT_MODE =", value, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeNotEqualTo(String value) {
            addCriterion("ALERT_MODE <>", value, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeGreaterThan(String value) {
            addCriterion("ALERT_MODE >", value, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeGreaterThanOrEqualTo(String value) {
            addCriterion("ALERT_MODE >=", value, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeLessThan(String value) {
            addCriterion("ALERT_MODE <", value, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeLessThanOrEqualTo(String value) {
            addCriterion("ALERT_MODE <=", value, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeLike(String value) {
            addCriterion("ALERT_MODE like", value, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeNotLike(String value) {
            addCriterion("ALERT_MODE not like", value, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeIn(List<String> values) {
            addCriterion("ALERT_MODE in", values, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeNotIn(List<String> values) {
            addCriterion("ALERT_MODE not in", values, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeBetween(String value1, String value2) {
            addCriterion("ALERT_MODE between", value1, value2, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertModeNotBetween(String value1, String value2) {
            addCriterion("ALERT_MODE not between", value1, value2, "alertMode");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountIsNull() {
            addCriterion("ALERT_ADVANCE_COUNT is null");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountIsNotNull() {
            addCriterion("ALERT_ADVANCE_COUNT is not null");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountEqualTo(Long value) {
            addCriterion("ALERT_ADVANCE_COUNT =", value, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountNotEqualTo(Long value) {
            addCriterion("ALERT_ADVANCE_COUNT <>", value, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountGreaterThan(Long value) {
            addCriterion("ALERT_ADVANCE_COUNT >", value, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountGreaterThanOrEqualTo(Long value) {
            addCriterion("ALERT_ADVANCE_COUNT >=", value, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountLessThan(Long value) {
            addCriterion("ALERT_ADVANCE_COUNT <", value, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountLessThanOrEqualTo(Long value) {
            addCriterion("ALERT_ADVANCE_COUNT <=", value, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountIn(List<Integer> values) {
            addCriterion("ALERT_ADVANCE_COUNT in", values, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountNotIn(List<Integer> values) {
            addCriterion("ALERT_ADVANCE_COUNT not in", values, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountBetween(Long value1, Long value2) {
            addCriterion("ALERT_ADVANCE_COUNT between", value1, value2, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceCountNotBetween(Long value1, Long value2) {
            addCriterion("ALERT_ADVANCE_COUNT not between", value1, value2, "alertAdvanceCount");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeIsNull() {
            addCriterion("ALERT_ADVANCE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeIsNotNull() {
            addCriterion("ALERT_ADVANCE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeEqualTo(String value) {
            addCriterion("ALERT_ADVANCE_TIME =", value, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeNotEqualTo(String value) {
            addCriterion("ALERT_ADVANCE_TIME <>", value, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeGreaterThan(String value) {
            addCriterion("ALERT_ADVANCE_TIME >", value, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeGreaterThanOrEqualTo(String value) {
            addCriterion("ALERT_ADVANCE_TIME >=", value, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeLessThan(String value) {
            addCriterion("ALERT_ADVANCE_TIME <", value, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeLessThanOrEqualTo(String value) {
            addCriterion("ALERT_ADVANCE_TIME <=", value, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeLike(String value) {
            addCriterion("ALERT_ADVANCE_TIME like", value, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeNotLike(String value) {
            addCriterion("ALERT_ADVANCE_TIME not like", value, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeIn(List<String> values) {
            addCriterion("ALERT_ADVANCE_TIME in", values, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeNotIn(List<String> values) {
            addCriterion("ALERT_ADVANCE_TIME not in", values, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeBetween(String value1, String value2) {
            addCriterion("ALERT_ADVANCE_TIME between", value1, value2, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andAlertAdvanceTimeNotBetween(String value1, String value2) {
            addCriterion("ALERT_ADVANCE_TIME not between", value1, value2, "alertAdvanceTime");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("REMARKS is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("REMARKS is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("REMARKS =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("REMARKS <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("REMARKS >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("REMARKS >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("REMARKS <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("REMARKS <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("REMARKS like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("REMARKS not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("REMARKS in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("REMARKS not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("REMARKS between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("REMARKS not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathIsNull() {
            addCriterion("ORG_BIZ_PATH is null");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathIsNotNull() {
            addCriterion("ORG_BIZ_PATH is not null");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH =", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH <>", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathGreaterThan(String value) {
            addCriterion("ORG_BIZ_PATH >", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH >=", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathLessThan(String value) {
            addCriterion("ORG_BIZ_PATH <", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathLessThanOrEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH <=", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathLike(String value) {
            addCriterion("ORG_BIZ_PATH like", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotLike(String value) {
            addCriterion("ORG_BIZ_PATH not like", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathIn(List<String> values) {
            addCriterion("ORG_BIZ_PATH in", values, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotIn(List<String> values) {
            addCriterion("ORG_BIZ_PATH not in", values, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathBetween(String value1, String value2) {
            addCriterion("ORG_BIZ_PATH between", value1, value2, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotBetween(String value1, String value2) {
            addCriterion("ORG_BIZ_PATH not between", value1, value2, "orgBizPath");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}